<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8" />
		<script src="../bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
		<link rel="import" href="event-element.html">
	</head>

	<body>
		<event-element id="eventElement"></event-element>
	</body>
	<script>
		HTMLImports.whenReady(function() {
			
			var el = document.getElementById("eventElement");
			el.addEventListener("kick", function(e) {
				alert(e.detail.data);
			});
			
		});
	</script>

</html>